import { Http } from "../utils/http";
class Article {
  static async GetDataList(data) {
    return await Http.request({
      url: `Furniture_Manage/J_article/GetDataList`,
      method: "post",
      data
    });
  }

  static async GetNoticeDataList(data) {
    return await Http.request({
      // url: `Furniture_Manage/J_article/GetDataList`,
      url: `Furniture_Manage/J_Notice/GetDataList`,
      method: "post",
      data
    });
  }

  static async Xwclassify(data) {
    return await Http.request({
      url: `Furniture_Manage/J_Notice_Xwclassify/GetDataList`,
      method: "post",
      data
    });
  }

  static async GetTheData(data) {
    return await Http.request({
      url: "Furniture_Manage/J_article/GetTheData",
      method: "post",
      data
    });
  }

  static async GetNoticeData(data) {
    return await Http.request({
      url: "Furniture_Manage/J_Notice/GetTheData",
      method: "post",
      data
    });
  }

  static async SaveData(data) {
    return await Http.request({
      url: "Furniture_Manage/J_article/SaveData",
      method: "post",
      data
    });
  }

  static async DeleteData(data) {
    return await Http.request({
      url: "Furniture_Manage/J_article/DeleteData",
      method: "post",
      data
    });
  }

  static async J_Notice(data) {
    return await Http.request({
      url: "Furniture_Manage/J_Notice/GetDataList",
      method: "post",
      data
    });
  }
}

export { Article };
